@import "reset.css";
@import "public.css";

@color:#80c4ae;



//列表选择

#header .right img{
    left: 212px;
}
#list{
    margin-bottom: 40px;
    .top{
        height: 40px;
        margin-bottom: 10px;
        &>span{
            float: left;
            line-height: 40px;
            font-weight: bold;
            margin-right: 20px;
            font-size: 16px;
        }
        p{
            float: left;
            padding: 0 12px 0 18px;
            height: 38px;
            line-height: 38px;
            width: 178px;
            margin-right: 20px;
            font-size: 16px;
            border: 1px solid @color;
            cursor: pointer;
            span{
                &:nth-child(1){
                    float: left;
                }
                &:nth-child(2){
                    float: right;
                    color: @color;
                }
                
            }
            
        }
    }

    div.list{
        padding: 0;
        &:nth-child(3){
            height: 80px;
        }
        p{
            float: left;
            line-height: 40px;
            font-weight: bold;
            
            font-size: 16px;
            width: 100px; 
        }
        ul{
            float: left;
            height: 40px;
            width: 1080px;
            li{
               
                line-height: 40px;
                float: left;
                width: 94px;
                text-align: center;
                a{
                    display: inline-block;
                    padding: 0 6px;
                    color: #6f6f6f;
                    height: 26px;
                    line-height: 26px;
                    margin: 0 auto;
                    border-radius: 4px;
                    &.active{
                        background: @color;
                        color: #fff;
                    }
                }

            }
        }
    }
}

//列表详情

#list_deta{
    margin-bottom: 30px;
    ul{
        display: none;
        
        &:first-child{
            display: block;
        }
        
        li{
            
            width: 380px;
            border-radius: 5px;
            background: #f8f8f8;
            float: left;
            margin:0 20px 20px 0;
            &:nth-child(3n){
                margin-right: 0;
            }
            div{
                &:nth-child(1){
                    height: 196px;
                    position: relative;
                    img{
                        width: 380px;
                        height: 196px;
                        position: absolute;
                        left: 0;
                        top: 0;
                    }
                    &>span{
                        &:nth-child(2){
                            position: absolute;
                            background: #000;
                            opacity: .3;
                            height: 33px;
                            width: 72px;
                            left: 0;
                            top: 0;
                            border-bottom-right-radius: 11px;
                            text-align: center;
                            line-height: 33px;
                            color: #f8f2ff;
                            font-size: 12px;
                        }
                        
                    }
                    p{
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        width: 342px;
                        background: #000;
                        opacity: .3;
                        line-height: 33px;
                        color: #f8f2ff;
                        padding-left: 10px;
                        padding-right: 28px;
                    
                    }
                }
                &:nth-child(2){
                    height: 62px;
                    padding:0 5px 0 10px;
                    p{
                        &:nth-child(1){
                            float: left;
                            span{
                                &:nth-child(1){
                                    
                                    display: block;
                                    line-height:32px;
                                    font-size: 14px;
                                }
                                &:nth-child(2){
                                    color: #8f8f8f;
                                    font-size:12px;
                                }
                                    
 
                            }

                        }
                        &:nth-child(2){
                            float: right;
                            height:30px;
                            width: 86px;
                            background: #74c6b3;
                            color: #fff;
                            font-size: 16px;
                            line-height: 30px;
                            text-align: center;
                            border-radius: 5px;
                            margin-top: 22px; 
                        }
                    }
                }
            }
        }
    }
}

//选项卡

#check{
    margin-bottom: 40px;
    text-align: center;
    
    div{
        display: inline-block;
        ul{
            float: left;
            li{
                border-radius: 4px;
                float: left;
                margin-right: 12px;
                height: 40px;
                line-height: 40px;
                font-size: 14px;
                
                text-align: center;
                
                cursor: pointer;
               
            }


        }

    }
    
}
